package com.imooc.coupon;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @description: 模板微服务启动入口
 * @author：naxiaozi，微信：naxiaozi
 * @date: 2025/8/9
 * @Copyright：
 *  @EnableEurekaClient 定义为eureka客户端，向eurekaServer注册
 * @EnableScheduling 开启定时任务
 * @EnableJpaAuditing 开启jpa审计 可以参考 https://blog.csdn.net/gitblog_00453/article/details/148941941
 *
 */
@EnableJpaAuditing
@EnableScheduling
@EnableEurekaClient
@SpringBootApplication
public class TemplateApplication {
    public static void main(String[] args) {
        SpringApplication.run(TemplateApplication.class,args);
    }
}
